<div id="edit-title"><?php echo $index['title'] ?></div>
<div id="system-sub-menu">
	<ul>
	<?php foreach($index['menus'] as $menu) { ?>
	<li><a href="<?php echo $menu['url']; ?>" target="_self"><?php echo $menu['name'] ?></a></li>
	<?php } ?>
	</ul>
</div>
<div>
	<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
		<input type="hidden" name="rand" value="<?php echo $form['rand']; ?>" />
		<div class="edit-name"><?php echo $index['title'] ?> <?php echo form_error('name', '<span class="error">', '</span>'); ?></div>
		<div class="edit-text"><input type="text" name="name" value="<?php echo set_value('name') ?>" /></div>
		<div class="clear"></div>
		<div class="edit-submit"><input type="submit" value="新建" /></div>
	</form>
</div>